﻿package
	{
	import flash.display.MovieClip;
	import flash.text.*;
	
	public class GaugeBar extends MovieClip
		{
		var maxWidth:Number;
		
		public function GaugeBar(size:Number)
			{
			this.maxWidth = this.bar.width;
			}
		
		public function refreshGauge(rate:Number)
			{
			this.bar.width = rate*maxWidth;
			//this.nbchild.text = String(stage.numChildren);
			
			}
		}
		
	}